﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using Dotway.WPF.Panels;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Server;
using Microsoft.TeamFoundation.WorkItemTracking.Client;

namespace WIAssistant
{
    public interface IMain
    {
        String CurrentServer { get; set; }
        ProjectInfo CurrentProject { get; set; }
        IEnumerable ServerListSource { get; set; }
        IEnumerable ProjectListSource { get; set; }
        IEnumerable TeamQueryNamesListSource { get; set; }
        IEnumerable PersonalQueryNamesListSource { get; set; }
        IEnumerable QueryResultListSource { get; set; }
        object TabAddLinksDataContext { get; set; }
        object TabAddLinksContent { get; set; }
        int PickedWorkItemID { get; set; }
        ZipperPanel CanvasPad { get; set; }
        bool IsCurrentItemEnabledChanged { get; set; }

        void AddCanvasToPad(Canvas canvas);
        void RemoveCanvasFromPad(Canvas canvas);
        void ToggleOnSelectEvent(bool addEvent);
        void SelectQueryResultItem(WorkItem item);
        WorkItem GetWorkItemInQueryResultListByID(int id);
        void WindowRegisterName(string name, Geometry geometry);
        T GetWILinkElement<T>(string name) where T : DependencyObject;
        TextBlock WaitCursorText { get; set; }
        Visibility WaitCursorVisibility { get; set; }
    }
}
